//
//  CHPopView.h
//  CarFile
//
//  Created by 陈浩 on 2017/4/13.
//  Copyright © 2017年 陈浩. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CHPopView;


@protocol CHPopViewDelegate <NSObject>

-(void)didClickBtnWithTitle:(NSString *)title andIndex:(NSInteger)index;

@end


@interface CHPopView : UIView

@property (nonatomic ,strong) id <CHPopViewDelegate> delegate;

+(instancetype) popView;
//  显示
-(void)show;
//  隐藏
-(void)dismiss;

@end
